package fun.mortnon.framework.constants;

/**
 * @author dongfangzan
 * @date 20.4.21 3:11 下午
 */
public class MortnonConstants {

    /**
     * 租户id
     */
    public static final String TENANT_ID = "tenant_id";

    /**
     * traceId
     */
    public static final String TRACE_ID = "trace_id";

    /**
     * 请求开始时间标识
     */
    public static final String LOGGER_SEND_TIME = "send_time";

    /**
     * 异常标记
     */
    public static final String EXCEPTION_TAG = "exception_tag";

    /**
     * jwt 用户名
     */
    public static final String JWT_USERNAME = "username";

    /**
     * token 专用 key，如 cookies 中
     */
    public static final String TOKEN_KEY = "X-Auth-Token";

    /**
     * RSA 算法名字
     */
    public static final String RSA_ALGORITHM = "RSA";
}
